local hx__jiaozi = fk.CreateSkill {
  name = "hx__jiaozi",
  tags = { Skill.Compulsory },
}

hx__jiaozi:addEffect(fk.DamageCaused, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(hx__jiaozi.name) and
      table.every(player.room:getOtherPlayers(player), function(p)
        return player:getHandcardNum() >= p:getHandcardNum()
      end)
  end,
  on_use = function(self, event, target, player, data)
    data:changeDamage(1)
  end,
})

return hx__jiaozi